package com.job.java.action;

import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import com.job.java.bean.TestFrameOneForm;
import com.job.java.struts.common.Action;
import com.job.java.struts.common.FormTemp;
import com.job.java.struts.common.StrutsXmlBean;


public class TestFrameOneAction implements Action {
	
	public String checkInfo(TestFrameOneForm testFrameForm){
		String forward = "";
		if(testFrameForm.getCellA().equals("lyh")){
			forward = "suc";
		}else{
			forward = "err";
		}
		return forward;
	}
	public String execute(String beaId, FormTemp formTemp) {
		TestFrameOneForm testFrameForm = (TestFrameOneForm)formTemp;
		String url = checkInfo(testFrameForm);
		return url;
	}
}
